<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Bluetooth Host Stack Library: BR/EDR Security Function</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Bluetooth Host Stack Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group__br__edr__sec__api__functions.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#groups">API Reference</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">BR/EDR Security Function<div class="ingroups"><a class="el" href="group__wicedbt___device_management.html">Device Management</a> &raquo; <a class="el" href="group__wicedbt__bredr.html">BR/EDR (Bluetooth Basic Rate / Enhanced Data Rate)</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p>This module provided various Bluetooth BR/EDR security functionality such as authorisation, authentication and encryption. </p>
<dl class="section note"><dt>Note</dt><dd>General Security APIs are listed in <a class="el" href="group__ble__common__sec__api__functions.html">Generic Security API</a> section. </dd></dl>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="groups"></a>
API Reference</h2></td></tr>
<tr class="memitem:group__ble__common__sec__api__functions"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__common__sec__api__functions.html">Generic Security API</a></td></tr>
<tr class="memdesc:group__ble__common__sec__api__functions"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bluetooth generic security API. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga25d190c6dec75838e2ae09d5db385ad7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__br__edr__sec__api__functions.html#ga25d190c6dec75838e2ae09d5db385ad7">wiced_bt_dev_pin_code_reply</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, <a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> res, uint8_t pin_len, uint8_t *p_pin)</td></tr>
<tr class="memdesc:ga25d190c6dec75838e2ae09d5db385ad7"><td class="mdescLeft">&#160;</td><td class="mdescRight">PIN code reply (use in response to <b>BTM_PIN_REQUEST_EVT </b> in <a class="el" href="group__wicedbt___device_management.html#ga86af8a8bb467047c9af6007f15b0d344" title="Bluetooth Management callback.">wiced_bt_management_cback_t</a>)  <a href="#ga25d190c6dec75838e2ae09d5db385ad7">More...</a><br /></td></tr>
<tr class="separator:ga25d190c6dec75838e2ae09d5db385ad7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6c0d114b3e9c02f0f139106065d0fc91"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__br__edr__sec__api__functions.html#ga6c0d114b3e9c02f0f139106065d0fc91">wiced_bt_dev_pass_key_req_reply</a> (<a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> res, <a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, uint32_t passkey)</td></tr>
<tr class="memdesc:ga6c0d114b3e9c02f0f139106065d0fc91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide the pairing passkey (in response to <b>BTM_PASSKEY_REQUEST_EVT </b> of <a class="el" href="group__wicedbt___device_management.html#ga86af8a8bb467047c9af6007f15b0d344" title="Bluetooth Management callback.">wiced_bt_management_cback_t</a>)  <a href="#ga6c0d114b3e9c02f0f139106065d0fc91">More...</a><br /></td></tr>
<tr class="separator:ga6c0d114b3e9c02f0f139106065d0fc91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab58690ef6801533d17516e4a4a2ce457"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__br__edr__sec__api__functions.html#gab58690ef6801533d17516e4a4a2ce457">wiced_bt_dev_read_local_oob_data</a> (void)</td></tr>
<tr class="memdesc:gab58690ef6801533d17516e4a4a2ce457"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read the local OOB data from controller (for sending to peer device over oob message).  <a href="#gab58690ef6801533d17516e4a4a2ce457">More...</a><br /></td></tr>
<tr class="separator:gab58690ef6801533d17516e4a4a2ce457"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga044c342a9dae8be624d64761d0016001"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__br__edr__sec__api__functions.html#ga044c342a9dae8be624d64761d0016001">wiced_bt_dev_remote_oob_data_reply</a> (<a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> res, <a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, <a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> is_extended_oob_data, <a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a> c_192, <a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a> r_192, <a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a> c_256, <a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a> r_256)</td></tr>
<tr class="memdesc:ga044c342a9dae8be624d64761d0016001"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide the remote OOB extended data for Simple Pairing in response to <a class="el" href="group__wicedbt___device_management.html#gga4a427fc37161f2041016d7936399be65acf3aca6c8fd4e53a7659df498546a103" title="Event requests OOB data of the remote device from app Event data: wiced_bt_management_evt_data_t::rem...">BTM_REMOTE_OOB_DATA_REQUEST_EVT</a>.  <a href="#ga044c342a9dae8be624d64761d0016001">More...</a><br /></td></tr>
<tr class="separator:ga044c342a9dae8be624d64761d0016001"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d62997eaf7e2bda56c669d165c63685"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__br__edr__sec__api__functions.html#ga4d62997eaf7e2bda56c669d165c63685">wiced_bt_dev_build_oob_data</a> (uint8_t *p_data, uint16_t max_len, <a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a> is_extended_oob_data, <a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a> c_192, <a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a> r_192, <a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a> c_256, <a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a> r_256)</td></tr>
<tr class="memdesc:ga4d62997eaf7e2bda56c669d165c63685"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build the OOB data block to be used to send OOB extended data over OOB (non-Bluetooth) link.  <a href="#ga4d62997eaf7e2bda56c669d165c63685">More...</a><br /></td></tr>
<tr class="separator:ga4d62997eaf7e2bda56c669d165c63685"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac3d5f8d286b23c21b9cff9e71aa6a83c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__br__edr__sec__api__functions.html#gac3d5f8d286b23c21b9cff9e71aa6a83c">wiced_bt_smp_oob_data_reply</a> (<a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a> bd_addr, <a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> res, uint8_t len, uint8_t *p_data)</td></tr>
<tr class="memdesc:gac3d5f8d286b23c21b9cff9e71aa6a83c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called to provide the OOB data for SMP in response to <a class="el" href="group__wicedbt___device_management.html#gga4a427fc37161f2041016d7936399be65adab633d8b20b3bdae03abdca5e38a58e" title="Event requests SMP remote oob data.">BTM_SMP_REMOTE_OOB_DATA_REQUEST_EVT</a>.  <a href="#gac3d5f8d286b23c21b9cff9e71aa6a83c">More...</a><br /></td></tr>
<tr class="separator:gac3d5f8d286b23c21b9cff9e71aa6a83c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae2882a01b03b99c30ef16059305a449d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__br__edr__sec__api__functions.html#gae2882a01b03b99c30ef16059305a449d">wiced_bt_smp_sc_oob_reply</a> (<a class="el" href="structwiced__bt__smp__sc__oob__data__t.html">wiced_bt_smp_sc_oob_data_t</a> *p_oob_data)</td></tr>
<tr class="memdesc:gae2882a01b03b99c30ef16059305a449d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide the SC OOB data for SMP in response to <a class="el" href="group__wicedbt___device_management.html#gga4a427fc37161f2041016d7936399be65a79e2658300e5048effb5dce5abd8e7f7" title="Event requests LE secure connection remote oob data request.">BTM_SMP_SC_REMOTE_OOB_DATA_REQUEST_EVT</a>.  <a href="#gae2882a01b03b99c30ef16059305a449d">More...</a><br /></td></tr>
<tr class="separator:gae2882a01b03b99c30ef16059305a449d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga41a38c0723bea818a4ae42c5e83f3367"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__br__edr__sec__api__functions.html#ga41a38c0723bea818a4ae42c5e83f3367">wiced_bt_dev_read_oob_data</a> (uint8_t *p_data, uint8_t eir_tag, uint8_t *p_len)</td></tr>
<tr class="memdesc:ga41a38c0723bea818a4ae42c5e83f3367"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called to parse the OOB data payload received over OOB (non-Bluetooth) link.  <a href="#ga41a38c0723bea818a4ae42c5e83f3367">More...</a><br /></td></tr>
<tr class="separator:ga41a38c0723bea818a4ae42c5e83f3367"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7d1811b8a8b3cb6f8763d9ce5bdd4ca4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__br__edr__sec__api__functions.html#ga7d1811b8a8b3cb6f8763d9ce5bdd4ca4">wiced_bt_dev_lrac_disable_secure_connection</a> (void)</td></tr>
<tr class="memdesc:ga7d1811b8a8b3cb6f8763d9ce5bdd4ca4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable Bluetooth secure connection.  <a href="#ga7d1811b8a8b3cb6f8763d9ce5bdd4ca4">More...</a><br /></td></tr>
<tr class="separator:ga7d1811b8a8b3cb6f8763d9ce5bdd4ca4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga25d190c6dec75838e2ae09d5db385ad7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga25d190c6dec75838e2ae09d5db385ad7">&#9670;&nbsp;</a></span>wiced_bt_dev_pin_code_reply()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_dev_pin_code_reply </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td>
          <td class="paramname"><em>res</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>pin_len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_pin</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>PIN code reply (use in response to <b>BTM_PIN_REQUEST_EVT </b> in <a class="el" href="group__wicedbt___device_management.html#ga86af8a8bb467047c9af6007f15b0d344" title="Bluetooth Management callback.">wiced_bt_management_cback_t</a>) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: Address of the device for which PIN was requested </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">res</td><td>: result of the operation WICED_BT_SUCCESS if success </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">pin_len</td><td>: length in bytes of the PIN Code </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_pin</td><td>: pointer to array with the PIN Code</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
<dl class="section note"><dt>Note</dt><dd>BR/EDR Only </dd></dl>

</div>
</div>
<a id="ga6c0d114b3e9c02f0f139106065d0fc91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6c0d114b3e9c02f0f139106065d0fc91">&#9670;&nbsp;</a></span>wiced_bt_dev_pass_key_req_reply()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_dev_pass_key_req_reply </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td>
          <td class="paramname"><em>res</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>passkey</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Provide the pairing passkey (in response to <b>BTM_PASSKEY_REQUEST_EVT </b> of <a class="el" href="group__wicedbt___device_management.html#ga86af8a8bb467047c9af6007f15b0d344" title="Bluetooth Management callback.">wiced_bt_management_cback_t</a>) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">res</td><td>: result of the operation WICED_BT_SUCCESS if success </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: Address of the peer device </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">passkey</td><td>: numeric value in the range of 0 - 999999(0xF423F).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
<dl class="section note"><dt>Note</dt><dd>BR/EDR only </dd></dl>

</div>
</div>
<a id="gab58690ef6801533d17516e4a4a2ce457"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab58690ef6801533d17516e4a4a2ce457">&#9670;&nbsp;</a></span>wiced_bt_dev_read_local_oob_data()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a> wiced_bt_dev_read_local_oob_data </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read the local OOB data from controller (for sending to peer device over oob message). </p>
<p>When operation is completed, local OOB data will be provided via <a class="el" href="group__wicedbt___device_management.html#gga4a427fc37161f2041016d7936399be65ae3453acd1e9a4c6b87ecb92186dcdb43" title="Event notifies result of reading local OOB data from the controller Event data: wiced_bt_management_e...">BTM_READ_LOCAL_OOB_DATA_COMPLETE_EVT</a>.</p>
<dl class="section note"><dt>Note</dt><dd>BR/EDR Only </dd></dl>

</div>
</div>
<a id="ga044c342a9dae8be624d64761d0016001"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga044c342a9dae8be624d64761d0016001">&#9670;&nbsp;</a></span>wiced_bt_dev_remote_oob_data_reply()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_dev_remote_oob_data_reply </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td>
          <td class="paramname"><em>res</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td>
          <td class="paramname"><em>is_extended_oob_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a>&#160;</td>
          <td class="paramname"><em>c_192</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a>&#160;</td>
          <td class="paramname"><em>r_192</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a>&#160;</td>
          <td class="paramname"><em>c_256</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a>&#160;</td>
          <td class="paramname"><em>r_256</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Provide the remote OOB extended data for Simple Pairing in response to <a class="el" href="group__wicedbt___device_management.html#gga4a427fc37161f2041016d7936399be65acf3aca6c8fd4e53a7659df498546a103" title="Event requests OOB data of the remote device from app Event data: wiced_bt_management_evt_data_t::rem...">BTM_REMOTE_OOB_DATA_REQUEST_EVT</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">res</td><td>: response reply </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>: Address of the peer device </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">is_extended_oob_data</td><td>: TRUE if extended OOB data (set according to <a class="el" href="group__wicedbt___device_management.html#gga4a427fc37161f2041016d7936399be65acf3aca6c8fd4e53a7659df498546a103" title="Event requests OOB data of the remote device from app Event data: wiced_bt_management_evt_data_t::rem...">BTM_REMOTE_OOB_DATA_REQUEST_EVT</a> request) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">c_192</td><td>: simple pairing Hash C derived from the P-192 public key. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">r_192</td><td>: simple pairing Randomizer R associated with the P-192 public key. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">c_256</td><td>: simple pairing Hash C derived from the P-256 public key (if is_extended_oob_data=TRUE) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">r_256</td><td>: simple pairing Randomizer R associated with the P-256 public key (if is_extended_oob_data=TRUE)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>BR/EDR Only </dd></dl>

</div>
</div>
<a id="ga4d62997eaf7e2bda56c669d165c63685"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4d62997eaf7e2bda56c669d165c63685">&#9670;&nbsp;</a></span>wiced_bt_dev_build_oob_data()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t wiced_bt_dev_build_oob_data </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>max_len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gentypes.html#ga2bc92bd117cfd3f6ec4ae452e6ced064">wiced_bool_t</a>&#160;</td>
          <td class="paramname"><em>is_extended_oob_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a>&#160;</td>
          <td class="paramname"><em>c_192</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a>&#160;</td>
          <td class="paramname"><em>r_192</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a>&#160;</td>
          <td class="paramname"><em>c_256</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#ga3081047eede654f70f0bf771e34e47a8">BT_OCTET16</a>&#160;</td>
          <td class="paramname"><em>r_256</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Build the OOB data block to be used to send OOB extended data over OOB (non-Bluetooth) link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">p_data</td><td>: OOB data block location </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">max_len</td><td>: OOB data block size </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">is_extended_oob_data</td><td>: TRUE if extended OOB data (for Secure Connections) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">c_192</td><td>: simple pairing Hash C derived from the P-192 public key. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">r_192</td><td>: simple pairing Randomizer R associated with the P-192 public key. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">c_256</td><td>: simple pairing Hash C derived from the P-256 public key (if is_extended_oob_data=TRUE) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">r_256</td><td>: simple pairing Randomizer R associated with the P-256 public key (if is_extended_oob_data=TRUE)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Number of bytes put into OOB data block.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>BR/EDR Only </dd></dl>

</div>
</div>
<a id="gac3d5f8d286b23c21b9cff9e71aa6a83c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac3d5f8d286b23c21b9cff9e71aa6a83c">&#9670;&nbsp;</a></span>wiced_bt_smp_oob_data_reply()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_smp_oob_data_reply </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__bt__types.html#gacf9a377aceca799be625c0dfe554902e">wiced_bt_device_address_t</a>&#160;</td>
          <td class="paramname"><em>bd_addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group___result.html#gacfc32ead8a827d53416f01b19eb58310">wiced_result_t</a>&#160;</td>
          <td class="paramname"><em>res</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called to provide the OOB data for SMP in response to <a class="el" href="group__wicedbt___device_management.html#gga4a427fc37161f2041016d7936399be65adab633d8b20b3bdae03abdca5e38a58e" title="Event requests SMP remote oob data.">BTM_SMP_REMOTE_OOB_DATA_REQUEST_EVT</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bd_addr</td><td>- Address of the peer device </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">res</td><td>- result of the operation WICED_BT_SUCCESS if success </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>- oob data length </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_data</td><td>- oob data</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>BR/EDR Only </dd></dl>

</div>
</div>
<a id="gae2882a01b03b99c30ef16059305a449d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae2882a01b03b99c30ef16059305a449d">&#9670;&nbsp;</a></span>wiced_bt_smp_sc_oob_reply()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_smp_sc_oob_reply </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structwiced__bt__smp__sc__oob__data__t.html">wiced_bt_smp_sc_oob_data_t</a> *&#160;</td>
          <td class="paramname"><em>p_oob_data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Provide the SC OOB data for SMP in response to <a class="el" href="group__wicedbt___device_management.html#gga4a427fc37161f2041016d7936399be65a79e2658300e5048effb5dce5abd8e7f7" title="Event requests LE secure connection remote oob data request.">BTM_SMP_SC_REMOTE_OOB_DATA_REQUEST_EVT</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_oob_data</td><td>: oob data </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga41a38c0723bea818a4ae42c5e83f3367"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga41a38c0723bea818a4ae42c5e83f3367">&#9670;&nbsp;</a></span>wiced_bt_dev_read_oob_data()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t* wiced_bt_dev_read_oob_data </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>eir_tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called to parse the OOB data payload received over OOB (non-Bluetooth) link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_data</td><td>: oob data </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">eir_tag</td><td>: EIR Data type( version5.0, Volume 3, Part C Section 5.2.2.7 ) </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">p_len</td><td>: the length of the data with the given EIR Data type</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The beginning of the data with the given EIR Data type. NULL, if the tag is not found. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>BR/EDR Only </dd></dl>

</div>
</div>
<a id="ga7d1811b8a8b3cb6f8763d9ce5bdd4ca4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7d1811b8a8b3cb6f8763d9ce5bdd4ca4">&#9670;&nbsp;</a></span>wiced_bt_dev_lrac_disable_secure_connection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wiced_bt_dev_lrac_disable_secure_connection </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disable Bluetooth secure connection. </p>
<dl class="section note"><dt>Note</dt><dd>This utility is used for LRAC application to disable the Bluetooth secure connection only. If the interference issue is fixed, this utility may be removed This utility shall be called before the Bluetooth stack is initialized (by calling app_bt_init()). </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Bluetooth Host Stack Library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
</body>
</html>
